package com.chinareny2k.excel_io;

import com.chinareny2k.commons.excel.annotation.ImportField;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

public class MasterExcelImport {

    private String fullName;
    private String sex;
    private String school;
    private String studentNo;
    private String grade;
    private String identityCategory;
    private String degreeType;
    private String trainLimit;
    private Date admissionDate;
    private Date graduationDate;
    private String mobile;
    private String idCardNo;
    private String email;
    private String tutorWorkNo;
    private String tutorName;
    private String major;
    private String rotaryStatus;
    private String yearCapital;
    private String subject;

    @Getter
    @Setter
    private Integer sexCode;
    @Getter
    @Setter
    private Integer schoolId;
    @Getter
    @Setter
    private Integer identityCategoryId;
    @Getter
    @Setter
    private String trainLimitCode;
    @Getter
    @Setter
    private Integer majorId;
    @Getter
    @Setter
    private Integer tutorId;
    @Getter
    @Setter
    private String yearCapitalCode;
    @Getter
    @Setter
    private Integer subjectId;
    @Getter
    @Setter
    private boolean update;


    public String getFullName() {
        return fullName;
    }
    @ImportField(columnName = "姓名")
    public void setFullName(String fullName) {
        this.fullName = fullName;
    }
    public String getSex() {
        return sex;
    }
    @ImportField(columnName = "性别")
    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getSchool() {
        return school;
    }
    @ImportField(columnName = "学校")
    public void setSchool(String school) {
        this.school = school;
    }

    public String getStudentNo() {
        return studentNo;
    }
    @ImportField(columnName = "学号")
    public void setStudentNo(String studentNo) {
        this.studentNo = studentNo;
    }

    public String getGrade() {
        return grade;
    }
    @ImportField(columnName = "年级")
    public void setGrade(String grade) {
        this.grade = grade;
    }
    public String getIdentityCategory() {
        return identityCategory;
    }
    @ImportField(columnName = "身份类别")
    public void setIdentityCategory(String identityCategory) {
        this.identityCategory = identityCategory;
    }

    public String getDegreeType() {
        return degreeType;
    }
    @ImportField(columnName = "学位类别")
    public void setDegreeType(String degreeType) {
        this.degreeType = degreeType;
    }

    public String getTrainLimit() {
        return trainLimit;
    }
    @ImportField(columnName = "学制")
    public void setTrainLimit(String trainLimit) {
        this.trainLimit = trainLimit;
    }
    public Date getAdmissionDate() {
        return admissionDate;
    }
    @ImportField(columnName = "入学时间",format = {"yyyy-MM-dd","yyyy/MM/dd","yyyy年MM月dd日","yyyy-M-d","yyyy/M/d","yyyy年M月d日"})
    public void setAdmissionDate(Date admissionDate) {
        this.admissionDate = admissionDate;
    }

    public Date getGraduationDate() {
        return graduationDate;
    }
    @ImportField(columnName = "毕业时间",format = {"yyyy-MM-dd","yyyy/MM/dd","yyyy年MM月dd日","yyyy-M-d","yyyy/M/d","yyyy年M月d日"})
    public void setGraduationDate(Date graduationDate) {
        this.graduationDate = graduationDate;
    }

    public String getMobile() {
        return mobile;
    }
    @ImportField(columnName = "手机号")
    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getIdCardNo() {
        return idCardNo;
    }
    @ImportField(columnName = "身份证号")
    public void setIdCardNo(String idCardNo) {
        this.idCardNo = idCardNo;
    }

    public String getEmail() {
        return email;
    }
    @ImportField(columnName = "邮箱")
    public void setEmail(String email) {
        this.email = email;
    }

    public String getTutorWorkNo() {
        return tutorWorkNo;
    }
    @ImportField(columnName = "导师工号")
    public void setTutorWorkNo(String tutorWorkNo) {
        this.tutorWorkNo = tutorWorkNo;
    }

    public String getMajor() {
        return major;
    }
    @ImportField(columnName = "专业")
    public void setMajor(String major) {
        this.major = major;
    }

    public String getRotaryStatus() {
        return rotaryStatus;
    }
    @ImportField(columnName = "是否纳入轮转")
    public void setRotaryStatus(String rotaryStatus) {
        this.rotaryStatus = rotaryStatus;
    }

    public String getYearCapital() {
        return yearCapital;
    }
    @ImportField(columnName = "年资")
    public void setYearCapital(String yearCapital) {
        this.yearCapital = yearCapital;
    }

    public String getSubject() {
        return subject;
    }
    @ImportField(columnName = "培训专业")
    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getTutorName() {
        return tutorName;
    }
    @ImportField(columnName = "导师姓名")
    public void setTutorName(String tutorName) {
        this.tutorName = tutorName;
    }

}
